package com.harmontronics.app.pedestal.bridge.model;

import com.google.gson.GsonBuilder;
import com.google.gson.annotations.SerializedName;

public class BridgeAudioResult {

    @SerializedName("tempFilePath")
    public String tempFilePath;
    @SerializedName("tempFile")
    public BridgeFile tempFile;
    @SerializedName("duration")
    public int duration;

    public BridgeAudioResult(String tempFilePath, BridgeFile tempFile, int duration) {
        this.tempFilePath = tempFilePath;
        this.tempFile = tempFile;
        this.duration = duration;
    }

    public String toJson() {
        return new GsonBuilder().create().toJson(this);
    }
}
